{php}
$catid=request()->param('catid/d',0);
if (empty($catid)) {
    $cat = request()->param('catdir/s', '');
    $catid = getCategory($cat,'id');
}
$page=request()->param('page/d',1);
$offset=($page-1)*5;
$limit="$offset,5";
{/php}
{yzn module="cms" action="lists" catid="$catid" order="listorder ASC" limit="$limit" return="data"}
{volist name="data" id="vo"}
<li class="link-item clearfix">
    <div class="link-area clearfix">
        <a class="common-matching-con fl">
            <img class="matching image-scale" src="{$vo.thumb}" href="{$vo.href}">
        </a>
        <div class="link-info-con fl">
            <div class="link-detail">
                <div class="link-mark clearfix">
                    <a class="topic-con fl clearfix">
                        <img class="topic-icon fl" src="__IMG_PATH__/topic_icon.png">
                        <span class="fl">{$vo.tags}</span>
                    </a>
                </div>
                {if condition="($vo['paytype'] == 1) AND ($vo['readpoint'] > 0) "} 
                    <a class="link-title" href="{$vo.url}" target="_blank">{$vo.title}</a>
                    <div class="link-from"></div>
                    <div class="link-des">{$vo.description|str_cut=###,20}</div>
                    <div class="operate-author-con clearfix">
                        <a class="shoufei" href="{$vo.url}" > 付费阅读 </a>
                    </div>
                {else /}
                    <a class="link-title" href="{$vo.url}" target="_blank">{$vo.title}</a>
                    <div class="link-from"></div>
                    <div class="link-des">{$vo.description|str_cut=###,20}</div>
                    <div class="operate-author-con clearfix">
                        <div class="author-con fl clearfix"></div>
                        <div class="operate-con fr clearfix"></div>
                    </div>
                {/if}
            </div>
        </div> 
    </div>
</li>
{/volist}
{/yzn}

{if !$__LIST__}
    <div class="loadmore loadmore-line loadmore-nodata"><span class="loadmore-tips">暂无更多数据</span></div>
{else /}
    <div class="tc">
        <a href="?page={:$page+1}" data-page="{$page}" class="btn btn-loadmore">获取更多热榜内容</a>
    </div>
{/if}